.PHONY:all
all:
	@echo "Usage: 'make release', 'make debug' or 'make clean'"

.PHONY:release
release:
	-export CFG=Release
	$(MAKE) -C ../dock/oogetopt
	$(MAKE) -C ../ark
	$(MAKE) -C ../scuba
	$(MAKE) -C ../stratego/uboat 
	$(MAKE) -C ../commando/sapper
	$(MAKE) -C ../commando/torpedo
	$(MAKE) -C ../commando/submarine
	$(MAKE) -C ../commando/minesweeper
	$(MAKE) -C ../commando/periscope

.PHONY:debug
debug:
	-export CFG=Debug
	$(MAKE) -C ../dock/oogetopt
	$(MAKE) -C ../ark
	$(MAKE) -C ../scuba
	$(MAKE) -C ../stratego/uboat 
	$(MAKE) -C ../commando/sapper
	$(MAKE) -C ../commando/torpedo
	$(MAKE) -C ../commando/submarine
	$(MAKE) -C ../commando/minesweeper
	$(MAKE) -C ../commando/periscope

.PHONY:clean
clean:
	$(MAKE) -C ../dock/oogetopt clean
	$(MAKE) -C ../ark clean
	$(MAKE) -C ../scuba clean
	$(MAKE) -C ../stratego/uboat clean
	$(MAKE) -C ../commando/sapper clean
	$(MAKE) -C ../commando/torpedo clean
	$(MAKE) -C ../dock/oogetopt clean
	$(MAKE) -C ../commando/submarine clean
	$(MAKE) -C ../commando/minesweeper clean
	$(MAKE) -C ../commando/periscope clean

